package com.whmskj.xjlhsc.panel.controller;

import cn.dev33.satoken.annotation.SaIgnore;
import com.whmskj.xjlhsc.controller.vo.Result;
import com.whmskj.xjlhsc.panel.service.imp.WindingServiceImpl;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiaruchun
 * @date 2025-09-13 09:06
 * @Description:  络筒看板
 */
@SaIgnore
@RestController
@RequestMapping("/panel/winding")
public class WindingController {
    @Autowired
    private WindingServiceImpl windingService;

    @GetMapping
    public Result getWindingData() {
        return Result.success(windingService.getWindingData());
    }

}
